package cn.iocoder.yudao.module.reading.controller.app.assignment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Size;
import java.time.LocalDate;
import java.util.List;

/**
 * 班级作业更新 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 班级作业更新 Request VO")
@Data
public class AssignmentUpdateReqVO {

    @Schema(description = "作业标题", example = "修改后的作业标题")
    @Size(max = 200, message = "作业标题长度不能超过200字符")
    private String title;

    @Schema(description = "作业描述", example = "修改后的作业描述")
    @Size(max = 1000, message = "作业描述长度不能超过1000字符")
    private String description;

    @Schema(description = "完成要求类型", example = "audio")
    private String requirementType;

    @Schema(description = "截止日期", example = "2025-01-11")
    private LocalDate assignmentDate;

    @Schema(description = "参与成员ID列表", example = "[1, 2, 3]")
    private List<Long> participantMemberIds;

}
